In [ ]:
import os

PROJ_ROOT = os.pardir

TRAIN_DATA = os.path.join(PROJ_ROOT, "data", "raw", "train.csv")
TEST_DATA = os.path.join(PROJ_ROOT, "data", "raw", "test.csv")

If you want to add modules from the /src part of the project.


In [ ]:
import sys
sys.path.append(os.path.join(PROJ_ROOT, "src"))

If you are doing live changes in the src files you plan to use, try the autoreload extension


In [ ]:
%load_ext autoreload
%autoreload 1

# now instead of import use %aimport